package cn.kbblog.bean;


/**
 * 系统手动跑出异常提醒
 * @ClassName: InfoException 
 * @author xu.hy
 * @date 2016-10-11 
 * @version V1.0
 */
public class InfoException extends Exception{

	private static final long serialVersionUID = 1L;
	protected Throwable cause = null;
	
	public InfoException() {
	}
	
	public InfoException(String msg){
		super(msg);
	}
	
	public InfoException( String message, Throwable cause )
	   {
	      super( message );
	      this.cause = cause;
	   }
	
	 public InfoException( Throwable cause )
	   {
	      super( cause.getMessage() );
	      this.cause = cause;
	   }
	 
	 @Override
	public Throwable getCause()
	   {
	      return this.cause;
	   }

}
